<template>
  <div class="main">
    <h1>This is an home page</h1>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped>

</style>


<!--<template>-->
<!--  <div class="main">-->
<!--    <a-table :dataSource="dataSource" :columns="columns">-->
<!--      <template #headerCell="{ column }">-->
<!--        <template v-if="column.key === 'id'">-->
<!--          <span>-->
<!--            <smile-outlined />-->
<!--          </span>-->
<!--        </template>-->
<!--      </template>-->

<!--      <template #bodyCell="{ column, record }">-->
<!--        <template v-if="column.key === 'icon'">-->
<!--          <Icon :icon="record.icon"></Icon>-->
<!--        </template>-->
<!--        <template v-if="column.key === 'state'">-->
<!--          <a-tag :color="record.state === 1 ? '#108ee9' : '#f50'">-->
<!--            {{ record.state === 1 ? "启用" : "禁用" }}-->
<!--          </a-tag>-->
<!--        </template>-->
<!--      </template>-->
<!--    </a-table>-->
<!--  </div>-->
<!--</template>-->

<!--<script setup lang="ts">-->
<!--import { getSubmenuList } from "@/api";-->
<!--import {  ref,reactive, onBeforeMount } from "vue";-->
<!--import { SmileOutlined, StepBackwardOutlined } from "@ant-design/icons-vue";-->
<!--import { Icon } from "@/config/Icon";-->

<!--onBeforeMount(() => {-->
<!--  getSubmenuList().then((res: any) => {-->
<!--    dataSource.value = res.data;-->
<!--    console.log(res.data);-->
<!--  });-->
<!--});-->
<!--const dataSource = ref<any>([]);-->

<!--const columns = [-->
<!--  {-->
<!--    title: "ID",-->
<!--    dataIndex: "id",-->
<!--    key: "id",-->
<!--  },-->
<!--  {-->
<!--    title: "名称",-->
<!--    dataIndex: "label",-->
<!--    key: "label",-->
<!--  },-->
<!--  {-->
<!--    title: "图标",-->
<!--    dataIndex: "icon",-->
<!--    key: "icon",-->
<!--  },-->
<!--  {-->
<!--    title: "状态",-->
<!--    dataIndex: "state",-->
<!--    key: "state",-->
<!--  },-->
<!--  {-->
<!--    title: "创建时间",-->
<!--    dataIndex: "createTime",-->
<!--    key: "createTime",-->
<!--  },-->
<!--  {-->
<!--    title: "更新时间",-->
<!--    dataIndex: "updateTime",-->
<!--    key: "updateTime",-->
<!--  },-->
<!--];-->
<!--</script>-->

<!--<style scoped></style>-->
